package com.iotechn.unimall.data.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 抽奖次数流水
 * 
 * @author chen
 * @email 1197346512@qq.com
 * @date 2021-09-06 18:29:16
 */

@Data
@TableName("unimall_turntable_user_log")
public class TurntableUserLogDO extends SuperDO {

	/**
	 * 
	 */
	/**
	 * 
	 */
    @TableField("gmt_create")
    private Date gmtCreate;
	/**
	 * 
	 */
    @TableField("gmt_update")
    private Date gmtUpdate;
	/**
	 * 原抽奖次数
	 */
    @TableField("orig_turn_times")
    private Integer origTurnTimes;
	/**
	 * 当前抽奖次数
	 */
    @TableField("curr_turn_times")
    private Integer currTurnTimes;
	/**
	 * 变化值
	 */
    @TableField("change_times")
    private Integer changeTimes;
	/**
	 * 增减具体操作
	 */
    @TableField("son_type")
    private Integer sonType;
	/**
	 * 类型  1 增加 2 扣减
	 */
    @TableField("type")
    private Integer type;
	/**
	 * 用户id
	 */
    @TableField("user_id")
    private Long userId;
	/**
	 * 转盘活动id
	 */
    @TableField("turntable_id")
    private Long turntableId;
	/**
	 * 转盘奖励id
	 */
    @TableField("turntable_prize_id")
    private Long turntablePrizeId;
	/**
	 * 奖励详情
	 */
    @TableField("detail")
    private String detail;

}
